{% extends 'EasyVoteBundle::layout.html.twig' %}

{% block title %}EasyVote | Home Page{% endblock %}

{% block navbar %}{% endblock %}

{% block content %}
    <div class="jumbotron" style="padding: 0;">
        {% image '@EasyVoteBundle/Resources/public/images/banner.png' output='/images/banner.png' %}
        <img src="{{ asset_url }}" class="img-responsive center-block">
        {% endimage %}
    </div>
    <div class="text-center">
        <h1>Welcome to EasyVote</h1>
        <h4>Choose a page below:</h4>
    </div>
    <div class="container">
        <div class="col-md-4 col-md-offset-4">
            <ul class="list-group text-center">
                <li class="list-group-item"><a href="{{ path('elections_show') }}">Go to Elections</a></li>
                <li class="list-group-item"><a href="{{ path('profile_show', {'id': 'user'}) }}">Go to My Profile</a></li>
            </ul>
        </div>
    </div>
{% endblock %}